<style>
	.top {
		height: 30px;
		border-bottom: 1px solid #ddd;
		background: #f7f7f7;
	}

	.nav {
		background: lightblue;
		height: 40px;
		width: 100%;
	}

	.left {
		float: left;
	}

	.right {
		float: right;
	}

	.logobox {
		overflow: hidden;
	}
</style>

<script src="//cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>

<script src='/packages/data/api/shop_member.js'></script>
<div class="top">
	<div class="left">
				欢迎来到;
	</div>
	<div class="right">
		
				<a href="/index.php/shop_member/login">[登录]</a>
		<a href="/index.php/shop_member/register">[注册]</a>
			</div>
</div>
<div class="logobox">
	<div style="width: 150px;height: 60px;float: left;">
		这是LOGO
	</div>
	<div style="float: left;">
		<input type="text">
		<button>搜索</button>
	</div>
</div>
<div class="nav">

</div>

<script>
	function logout() {
		var api = new RinAPI.shop_member.logout;
		api.send(function (err,data) {
			if(err) {
				return;
			}
			alert('退出成功');
			location.reload();
		})
	}
</script>